//
//  SolutionNode.h
//  PentahoIConsole
//
//  Created by Bill Seyler on 6/10/10.
//  Copyright 2010 Pentaho Corporation. All rights reserved.
//

#import <Foundation/Foundation.h>


@interface SolutionNode : NSObject {
	NSString *repository_path;
	
	NSString *fileName;
	NSString *localized_name;
	NSString *description;
	NSString *url;
	NSString *parameter_service_url;
	BOOL directory;
	BOOL visible;
	
	SolutionNode *parent;
	NSMutableArray *children;
}

@property (nonatomic, retain) NSString *repository_path;

@property (nonatomic, retain) NSString *fileName;
@property (nonatomic, retain) NSString *localized_name;
@property (nonatomic, retain) NSString *description;
@property (nonatomic, retain) NSString *url;
@property (nonatomic, retain) NSString *parameter_service_url;
@property BOOL directory;
@property BOOL visible;

@property (nonatomic, retain) SolutionNode *parent;
@property (nonatomic, retain) NSMutableArray *children;

- (void) addChild:(SolutionNode*) node;
- (void) removeChild:(SolutionNode*) node;
- (NSString *)solution;
- (NSString *)path;
@end
